/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.game.math.view.expression

object Operator extends Enumeration{
  type Operator = Value;
  val ADD= Value("ADD");
  val SUB= Value("SUB");
  val MUL= Value("MUL");
  val DIV = Value("DIV");
  def getOperatorChar(operator:Operator):String = {
    operator match {
      case ADD=> "+";
      case SUB=> "-";
      case MUL=> "*";
      case DIV=> "/";
    }
  }
}
